package com.murfrosoft.entity.AirHockey;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PointF;


public abstract class Paddle {

   float radius;
   float positionX;
   float positionY;
   float velocityX;
   float velocityY;
   float oldPositionX;
   float oldPositionY;
   Bitmap bitmap;
   
   public void setBitmap(Bitmap bitmap){
	   this.bitmap =bitmap;
   }
   
public float getOldPositionX() {
	return oldPositionX;
}
public void setOldPositionX(float oldPositionX) {
	this.oldPositionX = oldPositionX;
}
public float getOldPositionY() {
	return oldPositionY;
}
public void setOldPositionY(float oldPositionY) {
	this.oldPositionY = oldPositionY;
}
public float getRadius() {
	return radius;
}
public void setRadius(float radius) {
	this.radius = radius;
}
public float getPositionX() {
	return positionX;
}
public void setPositionX(float positionX) {
	this.positionX = positionX;
}
public float getPositionY() {
	return positionY;
}
public void setPositionY(float positionY) {
	this.positionY = positionY;
}
public float getVelocityX() {
	return velocityX;
}
public void setVelocityX(float velocityX) {
	this.velocityX = velocityX;
}
public float getVelocityY() {
	return velocityY;
}
public void setVelocityY(float velocityY) {
	this.velocityY = velocityY;
}

public abstract void move(int width,int height,float touchX,float touchY );
public abstract void draw(Canvas canvas);

}
